<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Configuring the DNS Service (Applicable to the OceanProtect E6000 Appliance)">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002164829006">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Configuring the DNS Service (Applicable to the OceanProtect E6000 Appliance)</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002164829006"></a><a name="EN-US_TOPIC_0000002164829006"></a>

<h1 class="topictitle1">Configuring the DNS Service (Applicable to the OceanProtect E6000 Appliance)</h1>
<div><p>This section describes how to configure the DNS service for resolution of and access to user-defined domain names.</p>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><ul><li>The DNS server has been configured and is running properly.</li><li>Port 53 of the TCP/UDP protocol has been enabled for communication between the storage system and DNS server.</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">Context</h4><ul><li>A DNS server is used to resolve and access external domain names.</li><li>If you want to configure a standby DNS server, keep the domain names of the active and standby servers consistent.</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Disable the security sandbox.</span><p><ol type="a"><li>Log in to DeviceManager. </li><li>Choose <strong>Cluster</strong> &gt; <strong>Cluster</strong> &gt; <strong>Hardware</strong> &gt; <strong>Nodes</strong> and click <span class="uicontrol"><b>Disable Security Sandbox</b></span>.</li><li>Select all nodes, specify <span class="uicontrol"><b>Password of root</b></span>, and click <span class="uicontrol"><b>OK</b></span>.</li><li>In the displayed <span class="uicontrol"><b>Disable Security Sandbox</b></span> dialog box, enter the password for logging in to DeviceManager, select <span class="uicontrol"><b>I have read and understand the consequences associated with performing this operation</b></span>, and click <span class="uicontrol"><b>OK</b></span>.</li></ol>
</p></li><li><span>Use PuTTY to log in to the nodes in the <span>OceanProtect</span> cluster as user <strong>root</strong>.</span><p><div class="note"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p>Perform subsequent operations on all nodes in the <span>OceanProtect</span> cluster.</p>
</div></div>
</p></li><li><span>Run the <strong>vim /etc/resolv.conf</strong> command to open the <strong>resolv.conf</strong> configuration file and press <strong>i</strong> to enter the insert mode. Add the following content to the configuration file:</span><p><pre class="screen"><em>nameserver IP address of the DNS server</em></pre>
</p></li><li><span>Press <strong>Esc</strong> and enter <strong>:wq!</strong> to save the settings and exit.</span></li><li><span>Enable the security sandbox.</span><p><ol type="a"><li>Log in to DeviceManager. </li><li>Choose <strong>Cluster</strong> &gt; <strong>Cluster</strong> &gt; <strong>Hardware</strong> &gt; <strong>Nodes</strong> and click <span class="uicontrol"><b>Enable Security Sandbox</b></span>.</li><li>Select all nodes and click <span class="uicontrol"><b>OK</b></span>.</li></ol>
</p></li></ol>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>